package com.alison;

import com.alison.enableimportbeanconfig.EnableImportBeanConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@EnableImportBeanConfig
@SpringBootApplication
public class AppEnableImportBeanConfig {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }

    @Autowired
    CustomBean customBean;

    {
        System.setProperty("emp.name", "tom");
        System.setProperty("emp.age", "11");
        System.setProperty("emp.address", "北京");
    }

}
